Vue.use(VueRouter)

const Home = () => import('@/views/home')
const About = () => import('@/views/about')

const routes = [
  {
    path: '/',
    component: Home
  }, 
  {
    path: '/about',
    component: About
  }
]

export default new VueRouter({
  routes
})